﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MultiWarehouse.aspx.cs" Inherits="WMS6.Web.Administration.MultiWarehouse" meta:resourcekey="Page" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>MultiWarehouse</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />
    <script src="../Js/jquery.js" type="text/javascript"></script>
    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>
    <script src="../Js/util.js" id="js" type="text/javascript"></script>
    <script src="../Js/InitPage.js" type="text/javascript"></script>    
    <script src="../Js/Verification.js"></script>
    
    <script type="text/javascript">
        //初始化页面
        window.onload = function(){
            initListPage();
        }
    </script>
</head>
<body>
    <form id="F1060" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
                
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"><ContentTemplate>
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom"><asp:Label ID="lblRole" runat="server" CssClass="label_header" 
                            Text="多仓设置" meta:resourcekey="lblRole"></asp:Label></td>
                    <td><asp:Button ID="btnNew" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnNew%>" 
                            onclick="btnNew_Click" /></td>
                    <td><asp:Button ID="btnEdit" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnEdit%>" 
                            onclick="btnEdit_Click"   /></td>
                      <td><asp:Button ID="btnSave" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnSave%>" 
                              onclick="btnSave_Click" /></td>
                    <td><asp:Button ID="btnDelete" runat="server" CssClass="button" Enabled="False" Text="<%$Resources:ButtonResource,btnDelete%>" 
                            OnClientClick="javascript:if(confirm('<%=GetGlobalMsgResource(''F1650_007'') %>')) return true; else return false;" 
                            onclick="btnDelete_Click"   /></td>
                    <td><asp:Button ID="btnAction" runat="server" CssClass="button" Enabled="False" 
                            Text="<%$Resources:ButtonResource,btnAction%>" /></td>
                </tr>
            </table>
        </div>
        <div class="blank8">
        </div>
        <div>
            <asp:Label ID="lblMsg" runat="server" CssClass="label_message" 
                meta:resourcekey="lblMsg"></asp:Label>
        </div>
        
        <div id="div_List">
       <table width=100% cellpadding=0 cellspacing=0 border="0">
       <tr>
        <td  valign="top"  width=15%  >
         <div id=tree  style="overflow: auto; width: 300px; height: 600px">
          <asp:TreeView ID="TreeView1" runat="server" 
                                    ExpandDepth="1" ShowLines="True" 
                 onselectednodechanged="TreeView1_SelectedNodeChanged" 
                 meta:resourcekey="TreeView1">
                                    <RootNodeStyle ImageUrl="~/Images/computer.gif" />
                                    <LeafNodeStyle ImageUrl="~/Images/computer.gif" />
                                    <ParentNodeStyle ImageUrl="~/Images/computer.gif" />
                                    <SelectedNodeStyle Font-Bold="True" />
                                </asp:TreeView>
          </div>
        </td>
        <td  width=85% valign=top>
        <div id="div_query">
         <fieldset>
              <legend>
                 <asp:Label ID="Label18" runat="server" Text="节点信息" meta:resourcekey="Label18"></asp:Label></legend>
                 <br />
            <table width="400px" cellpadding="0" cellspacing="0" >
                <tr>
                 <td width=50px>
                    </td>
                    <td width=180px>
                        <asp:Label CssClass="label" ID="lblDominaID" runat="server" Text="节点代码" 
                            meta:resourcekey="lblDominaID"></asp:Label>
                    </td>
                    <td width=180px>
                     <asp:Label CssClass="label" ID="lblDominaName" runat="server" Text="节点名称" 
                            meta:resourcekey="lblDominaName"></asp:Label>
                    </td>
                    <td width=180px>      
                    </td>
                        <td>
                    </td>
                </tr>
                <tr>
                    <td  width=50px>
                    </td>
                    <td width=180px>
                        <asp:TextBox ID="txtDomainID" 
                            onblur="JavaScript:dataVer._Is123(this,'lblMsg')"  runat="server" 
                            CssClass="textbox" MaxLength="15" meta:resourcekey="txtDomainID"></asp:TextBox>
                    </td>
                    <td width=180px>
                        <asp:TextBox ID="txtDominaName" runat="server" CssClass="textbox" 
                            MaxLength="10" meta:resourcekey="txtDominaName"></asp:TextBox>
                    </td>
                    <td width=180px>
                    </td>
                    <td>
                    </td>
                </tr>       
                   <tr>
                 <td width=50px>
                    </td>
                    <td width=180px>
                      <asp:Label CssClass="label" ID="lblLevelNum" runat="server" Text="节点级别" 
                            meta:resourcekey="lblLevelNum"></asp:Label>   
                    </td>
                    <td width=180px>
                     <asp:Label CssClass="label" ID="Label2" runat="server" Text="上级节点" 
                            meta:resourcekey="Label2"></asp:Label>
                    </td>
                    <td width=180px> 
                                     
                    </td>
                        <td>
                    </td>
                </tr>
                <tr>
                    <td  width=50px>
                    </td>
                    <td width=180px>
                      <asp:DropDownList ID="ddlLevelNum" runat="server" CssClass="textbox" 
                            meta:resourcekey="ddlLevelNum" >
                         <asp:ListItem Value=0 Selected="True" meta:resourcekey="ListItem">..请选择..</asp:ListItem>
                         <asp:ListItem Value=1 meta:resourcekey="ListItemResource2">总公司</asp:ListItem>
                         <asp:ListItem Value=2 meta:resourcekey="ListItemResource3">分公司</asp:ListItem>
                         <asp:ListItem Value=3 meta:resourcekey="ListItemResource4">分拨中心</asp:ListItem>
                         <asp:ListItem Value=4 meta:resourcekey="ListItemResource5">仓库</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td width=180px>
                        <asp:TextBox ID="txtParentCompany" runat="server" CssClass="textbox" 
                            MaxLength="10" meta:resourcekey="txtParentCompany"></asp:TextBox>
                        
                    </td>
                    <td width=180px>
                        
                    </td>
                    <td>
                    </td>
                </tr>        
                  <tr>
                  <td  width=50px>
                    </td>
                    <td width=180px>
                        <asp:Label CssClass="label" ID="lblDescription" runat="server" Text="节点描述" 
                            meta:resourcekey="lblDescription"></asp:Label>
                    </td>
                    <td width=180px>
                
                    </td>
                    <td width=180px> 
                                  
                    </td>
                        <td>
                    </td>
                </tr>
                <tr>
                  <td>
                    </td>
                    <td width=360px colspan=2>
                        <asp:TextBox ID="txtDescription" runat="server" CssClass="largetextbox" 
                            MaxLength="25" meta:resourcekey="txtDescription"></asp:TextBox>
                    </td>
                    <td width=180px>
                      
                    </td>

                </tr>      
                <tr>
                  <td>
                    </td>
                    <td width=180px>                        
                    </td>
                    <td width=180px>
                        </td>
                    <td width=180px>                      
                          </td>
                    <td width=180px>                     
                    </td>

                </tr>  
            </table>
     <input id="hidSelectedNodeText" type="hidden" runat="server" >
         <input id="hidSelectedNodeValue" runat="server" type="hidden"></input>
             <input id="hidOldDeptCode" runat="server" type="hidden"></input>
                 <input id="hidParentText" runat="server" type="hidden"></input>
                     <input id="hidParentValue" runat="server" type="hidden"></input>
                         <input id="hidAction" runat="server" type="hidden"></input>
                             <input id="hidType" runat="server" type="hidden"></input>
                                 <input id="hdnFrom" runat="server" type="hidden"></input>
                                     <input id="hdnActionID" runat="server" type="hidden"></input>
                                     </input>
                                 </input>
                             </input>
                         </input>
                     </input>
                 </input>
             </input>
         </input>
              </input>
                    </fieldset>
        </div>
           
         </td>
       </tr>
        </table>
        </div>
        </ContentTemplate>
   
        </asp:UpdatePanel>
        
              
    </div>
   
    </form>
</body>
</html>
